package com.team2.outpatient_sys.pojo;

/**
 * 排号信息 实体类
 */
public class QueueUp {
    // 排号id
    private Integer id;
    // 医生id
    private Integer doctorId;
    // 病人id
    private Integer patientId;
    // 排号编号
    private String queueNo;
    // 排号状态
    private Integer state;

    public QueueUp() {
    }

    public QueueUp(Integer id, Integer doctorId, Integer patientId, String queueNo, Integer state) {
        this.id = id;
        this.doctorId = doctorId;
        this.patientId = patientId;
        this.queueNo = queueNo;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getQueueNo() {
        return queueNo;
    }

    public void setQueueNo(String queueNo) {
        this.queueNo = queueNo;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "QueueUp{" +
                "id=" + id +
                ", doctorId=" + doctorId +
                ", patientId=" + patientId +
                ", queueNo='" + queueNo + '\'' +
                ", state=" + state +
                '}';
    }
}
